import { axios as request } from '@/utils/request'

const platformVisitAPI = {
  visit: '/analytics/hTPlatformVisitAction/add',
  leave: '/analytics/hTPlatformVisitAction/visitEdit',
}

export function visitPlatformRequest(parameters) {
  return request({
    url: platformVisitAPI.visit,
    method: 'post',
    data: parameters,
  })
}

export function leavePlatformRequest(parameters) {
  return request({
    url: platformVisitAPI.leave,
    method: 'post',
    data: parameters,
  })
}


